<%
if request.form("pwd")="2003" then
cookiePath=request.servervariables("path_info")
cookiePath=left(cookiePath,instrRev(cookiePath,"/"))
Response.cookies("admin").Path=cookiePath
Response.cookies("admin")("wrong")="unlock"
session("wrong")=0
response.redirect "index.asp"
else
response.redirect "data/lock.asp"
end if
%>